Learn R Programming

OpenRepGrid (version 0.1.12)

[<-,repgrid-method: Method for "<-" assignment of the repgrid ratings.

Description

It should be possible to use it for ratings on all layers.

Usage

# S4 method for repgrid
[(x, i, j, ...) <- value

Arguments

x

A repgrid object.

i, j

Row and column indices.

...

Not evaluated.

value

Numeric replacement value(s).

Examples

Run this code
# NOT RUN {
   x <- randomGrid()
   x[1,1] <- 2
   x[1, ] <- 4
   x[ ,2] <- 3
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab